package request

type BatchShipping struct {
	ShopId   uint64   `form:"shop_id" json:"shop_id" binding:"required"`
	OrderIds []uint64 `form:"order_ids" json:"order_ids" binding:"required"`
}
type CalculateShippingFeeReq struct {
	Weight  float32 `json:"weight" form:"weight" binding:"required"`     // 租客ID
	WayLong float32 `json:"way_long" form:"way_long" binding:"required"` // 租客ID
}
type CreateCabinet struct {
	CabinetNo        string `form:"cabinet_no" binding:"required"   json:"cabinet_no"`
	ChargingStandard string `form:"charging_standard" binding:"required"   json:"charging_standard"`
	AddressId        int32  `form:"address_id" binding:"required"   json:"address_id"`
	SizeId           int32  `form:"size_id" binding:"required"   json:"size_id"`
}
type UpdateCabinet struct {
	Id               int32  `form:"id" binding:"required"   json:"id"`
	CabinetNo        string `form:"cabinet_no"   json:"cabinet_no"`
	ChargingStandard string `form:"charging_standard"   json:"charging_standard"`
	AddressId        int32  `form:"address_id"   json:"address_id"`
	SizeId           int32  `form:"size_id"   json:"size_id"`
}
type GetCabinetBySizeReq struct {
	AddressId int32 `form:"address_id"   json:"address_id"`
	SizeId    int32 `form:"size_id"  json:"size_id"`
}
